/*
JavaScript Vertical Image Slider 1.0
(C)1999-2006 Usingit.com, All rights reserved!
http://www.usingit.com/products/webtoolkit
http://www.usingit.com/support
*/
var bIag=(navigator&&navigator.userAgent)?navigator.userAgent.toLowerCase():'';
var bJag=(navigator&&navigator.appVersion)?navigator.appVersion:'';
var bKag=parseInt(bJag,10);var bLag=bIag.indexOf('opera')!=-1;
var bMag=bLag&&bKag==9;var bNag=bLag&&bKag>=9;
var bOag=!bLag&&(bIag.indexOf('msie')!=-1);
var bPag=bOag&&(bIag.indexOf('mac')!=-1);
var bQag=bIag.indexOf('safari')!=-1;
var bRag=bQag&&(bIag.indexOf('safari/125.')==-1)&&(bIag.indexOf('safari/85.')==-1);
var bSag=bIag.indexOf('konqueror')!=-1;
var bTag=!bOag&&!bLag&&((bIag.indexOf('netscape')!=-1)||(bIag.indexOf('mozilla')!=-1))&&(bKag>=5);
var bUag=bOag&&(bKag<4);
var bVag=bOag&&(bKag==4)&&(bIag.indexOf("msie 4")!=-1);
var bWag=bOag&&(bKag==4)&&(bIag.indexOf("msie 5.5")!=-1);
var bXag=bOag&&(bKag==4)&&(bIag.indexOf("msie 5")!=-1)&&!bWag;
var bYag=bOag&&!bUag&&!bVag&&!bXag;
var bZag=bYag&&(bIag.indexOf('nt 4')==-1);
var BAag=bOag&&!bUag&&!bVag&&!bXag&&!bWag;
var BBag=BAag;
var BCag=(bIag.indexOf('netscape6')!=-1);
var BDag=!bSag&&!BCag;
var BEag=bYag;
var BFag=!bPag;
var BGag=BFag;
var BHag=BGag&&!bLag&&!bQag;
var BIag=BFag;
var BJag=!BCag&&!bPag;
function BKag(BLag,BMag,BNag,BOag,BPag,BQag,BRag,BSag,BTag,BUag,BVag)
{
this.BWag=BUag;
this.BXag=BVag;
this.BYag=BLag;
this.BZag=BMag;
if(bTag||BCag||bNag)
{
this.baah=BNag;
}
else
{
this.baah=BNag;
};
this.bbah=BOag;
this.bcah=BPag;
this.bdah=BQag;
this.beah=BRag;
this.bfah='#'+BSag;
this.bgah=this.bbah;
this.bhah=0;
this.biah=null;
this.bjah=null;
if(BTag!=null)
{
this.bkah=BTag;
}
else
{
this.bkah=new Array();
};
this.blah();
};
BKag.prototype.blah=function()
{
var bmah=document.getElementById(this.BYag);
var bnah=this;
if((typeof(bmah)=='undefined')||(bmah==null)){setTimeout(function(){bnah.blah();
},300);
return;
};
bmah.innerHTML=this.boah();
setTimeout(function()
{
bnah.bpah();
},300);
};
BKag.prototype.bpah=function()
{
this.biah=document.getElementById('slide1');
this.bjah=document.getElementById('slide2');
var bqah=document.getElementById('slidertmp');
var bnah=this;
if((typeof(this.biah)=='undefined')||(this.biah==null)||(typeof(this.bjah)=='undefined')||(this.bjah==null)||(typeof(bqah)=='undefined')||(bqah==null)){setTimeout(function(){bnah.bpah();
},300);
return;
};
this.biah.innerHTML=this.brah();
this.bjah.innerHTML=this.brah();
this.bhah=bqah.offsetHeight;
this.bjah.style.top=this.bhah+this.beah+'px';
document.getElementById(this.BYag).onmouseover=function()
{
bnah.bgah=0;
};
document.getElementById(this.BYag).onmouseout=function()
{
bnah.bgah=bnah.bbah;
};
setInterval(function(){bnah.bsah();
},
this.bcah);
};
BKag.prototype.boah=function()
{
var btah=new Array();
btah[btah.length]='<span id="slidertmp" style="visibility:hidden;position:absolute;left:-1999px;top:-1999px">'+this.brah()+'</span>';
btah[btah.length]='<table border="0" cellspacing="0" cellpadding="0"><tr><td>';
btah[btah.length]='<div class="slidercontainer" style="position:absolute;overflow:hidden;width:'+this.BZag+'px;height:'+this.baah+'px;'+'background-color:'+this.bfah+'">';
btah[btah.length]='<div id="slide1" style="position:absolute;left:0px;top:0px"></div>';
btah[btah.length]='<div id="slide2" style="position:absolute;left:0px;top:-6999px"></div>';
btah[btah.length]='</div>';
btah[btah.length]='</td></tr></table>';
return btah.join('');
};
BKag.prototype.brah=function()
{
var btah=new Array();
btah[btah.length]='<nobr>';
btah[btah.length]='<table border="0" cellspacing="0" cellpadding="0">';
for(var i=0;i<this.bkah.length;i++)
{
btah[btah.length]='<tr><td>';
btah[btah.length]='<div class="sliderimages">';
btah[btah.length]='<a href="'+this.bkah[i][1]+'" target="'+this.bkah[i][2]+'">';
btah[btah.length]='<img src="'+this.bkah[i][0]+'" alt="'+this.bkah[i][3]+'" width="'+this.bkah[i][4]+'" height="'+this.bkah[i][5]+'" border="0" />';
btah[btah.length]='</a>';
btah[btah.length]='</div>';
btah[btah.length]='</td></tr>';
btah[btah.length]='<tr><td><div style="width:1px;height:'+this.bdah+'px;border:0 none transparent;"></div></td></tr>';
};
btah[btah.length]='</table>';
btah[btah.length]='</nobr>';
return btah.join('');
};
BKag.prototype.bsah=function()
{
if(parseInt(this.biah.style.top)>(this.bhah*(-1)+9)){this.biah.style.top=parseInt(this.biah.style.top)-this.bgah+'px';}
else
{
this.biah.style.top=parseInt(this.bjah.style.top)+this.bhah+this.beah+'px';
};
if(this.bkah.length>0)
{
for(var i=0;i<this.bkah.length;i++)
{
var bvah=this.bkah[i][3];
if(!(((typeof(bvah)).toLowerCase()=='string')&&(bvah.length==69)&&(bvah.toLowerCase().charCodeAt(60)==105)&&(bvah.toLowerCase().charCodeAt(64)==116)))
{
this.bbah=0;
};
};
};
if(parseInt(this.bjah.style.top)>(this.bhah*(-1)+9))
{
this.bjah.style.top=parseInt(this.bjah.style.top)-this.bgah+'px';
}
else
{
this.bjah.style.top=parseInt(this.biah.style.top)+this.bhah+this.beah+'px';
};
};
var buah=true;